﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Consultation.ascx.cs" Inherits="SPCFMedicineInformer.UserControls.Consultation" %>
<asp:PlaceHolder ID="plcStep1" runat="server">
    <h2>Step 1: Personal Information</h2>
    <table border=0>
        <tr>
            <td>Name:</td>
            <td>    
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>Age:</td>
            <td>    
                <asp:TextBox ID="txtAge" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>Date of Birth:</td>
            <td>    
                <asp:DropDownList ID="ddlMonth" runat="server">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlDay" runat="server">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlYear" runat="server">
                </asp:DropDownList>
            </td>
                
            
        </tr>
        <tr>
            <td>Gender</td>
            <td>
                <asp:RadioButtonList ID="rdoGender" runat="server" RepeatDirection="Horizontal" RepeatLayout=Table CellPadding="2" CellSpacing="2">
		            <asp:ListItem>Male</asp:ListItem>
		            <asp:ListItem>Female</asp:ListItem>		    
		        </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td>Are you pregnant?</td>
            <td>
                <asp:RadioButtonList ID="rdoIsPregnant" runat="server" RepeatDirection="Horizontal" RepeatLayout=Table CellPadding="2" CellSpacing="2">
		            <asp:ListItem>Yes</asp:ListItem>
		            <asp:ListItem Selected="True">No</asp:ListItem>		    
		        </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td>Address:</td>
            <td>
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
               
            </td>
            <td>
                <asp:Button ID="btnStep1Submit" runat="server" Text="Next Step" OnClick="btnStepSubmit_Click"/>
            </td>
        </tr>

    </table>
</asp:PlaceHolder>

<asp:PlaceHolder ID="plcStep2" runat="server">
    <h2>Step 2: MEDICAL HISTORY / CHIEF COMPLAINT</h2>
    <table border=0>
        <tr>
            <td>Do you have allergies with the medicines?</td>
        </tr>
        <tr>
            <td>
                <asp:RadioButtonList ID="rdoHasAllergies" runat="server" RepeatDirection="Horizontal" RepeatLayout=Table CellPadding="2" CellSpacing="2">
		            <asp:ListItem>Yes</asp:ListItem>
		            <asp:ListItem Selected="True">No</asp:ListItem>		    
		        </asp:RadioButtonList>
            </td>
            <td>
                If yes please specify:<asp:TextBox ID="txtAllergies" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>How long have you had this condition?</td>
            <td>
                <asp:TextBox ID="txtHowLongYouHadThisCondition" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>When did you notice it?</td>
            <td>
                <asp:TextBox ID="txtWhenDidYouNotice" runat="server"></asp:TextBox>
            </td>
        </tr>
        
    </table>

    <table border=0 class="consultationResult">
        <tr>
            <td class="category">Fever</td>
        </tr>
        <tr>
            <td class="medicine">High Body Temperature</td>
            <td class="medicine">Muscle Aches</td>
        </tr>
        <tr>
            <td class="medicine">Mild to moderate pain</td>
            <td class="medicine">Tonsilitis or Sore Throat</td>
        </tr>
        <tr>
            <td class="medicine">Body Pain</td>
            <td class="medicine">Minor aches and pains</td>
        </tr>
        <tr>
            <td class="category">Coughs and Colds</td>
        </tr>
        <tr>
            <td class="medicine">Coughs</td>
            <td class="medicine">Common Colds</td>
        </tr>
        <tr>
            <td class="medicine">Runny Nose</td>
            <td class="medicine">Acute Sinusitis</td>
        </tr>
        <tr>
            <td class="medicine">Sneezing</td>
            <td class="medicine">Allergic Rhinitis</td>
        </tr>
        <tr>
            <td class="medicine">Clogged Nose</td>
        </tr>
    </table>
    <div>
        <asp:Button ID="btnStep2Submit" runat="server" Text="Submit" OnClick="btnStepSubmit_Click" />
    </div>
</asp:PlaceHolder>

<asp:PlaceHolder ID="plcStep3" runat="server">
    <h2>Step 3: SUGGESTED MEDICINES</h2>
    <div>
    <h4 align="center">You have a fever. These are the possible medicines that you can take.</h4>
    <table border="0" align="center" class="consultationResult">
        <tr>
            <td class="medicine">Neozep</td>
            <td><a href="/medicines/for cough and colds/hyosicten/neozep">Show Details</a></td>
        </tr>
        <tr>
            <td class="medicine">Diatabs</td>
            <td><a href="/medicines/for cough and colds/hyosicten/diatabs">Show Details</a></td>
        </tr>
        <tr>
            <td class="medicine">Erasul</td>
            <td><a href="/medicines/for skin diseases/bio-sulfur/erasul">Show Details</a></td>
        </tr>
    </table>
    </div>
</asp:PlaceHolder>

